<script>
    $(document).ready(function () {
        $('#nav-home').addClass("active");
        function setheight() {
            $('.page-container').css('top', $('.topnav').outerHeight());
        }
        setheight();
        $(window).on('resize', function () {
            setheight();
        })
    });
</script>